package TeacherEvaluation.com.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import TeacherEvaluation.com.entity.Student;

public interface studentDao {
	Student selectStuByOne(String stu_number);
	int selectStuByNumber(String stu_number);
	int insertStu(Student student);
	List<Student> selectStu();
	int updateStu(Student student);
	int updatePas(@Param("stu_number")String stu_number,@Param("stu_name2")String stu_name2);
	int deleStu(int id);
	
	
	int selectCount();//查询学生总数
	
	List<Student> selectUserList();//查询所有学生
	
	List<Student> findByPage(HashMap<String,Object> map);//分页操作，调用findByPage limit分页方法
	
}
